package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component("contractJob")
@Slf4j
public class ContractJob {
    @Autowired
    IContractService contractService;
    public void updateContractStatus() {
        contractService.updateContractStatus();
        log.info("执行了合同状态更新任务");
    }

}
